package cn.peifu.hrm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //项目启动时不连接数据库
@EnableEurekaClient
@EnableZuulProxy
public class ZuulServerApp1020 {
    public static void main(String[] args) {
        SpringApplication.run(ZuulServerApp1020.class);
    }
}
